package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 问卷结果实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "dimension")
public class Dimension implements Serializable {

    private ObjectId id;
    private Long userId; //问卷结果对应用户id
    private Long questionnaireId; //问卷id
    private Integer outgoing;//外向值
    private Integer judge;//判断值
    private Integer _abstract;//抽象值
    private Integer logical;//理性值
    private String cover;//展示图片地址
    private Long createDate;//创建时间

}
